#ifndef __GPS_H__
#define __GPS_H__

#include "fw/vbb_USART.h"

typedef struct
{    
    char buffer[4096];
    VBB_USART usart;
    VBB_Message msg;
    VBB_Message finalMsg;
    unsigned int active;
    unsigned int lat_int;
    unsigned int lat_fra;
    unsigned int long_int;
    unsigned int long_fra;
    unsigned int vel_int;
    unsigned int vel_fra;
    unsigned int last_vel;
} VBB_GPS;

void vbb_GPS_Init(void);
void vbb_GPS_Flush(void);
bool vbb_GPS_OnMoving(void);

#endif

